Join key provisioning of wireless devices

ABSTRACT

Wireless devices are provisioned to join a wireless mesh network by writing an individual or common join key and network identification information to the wireless device, and creating an association of the wireless device with a gateway of the network by providing the gateway with a unique device identifier for the wireless device. The writing of the join key to the wireless device is achieved without revealing the join key to a user.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application claims priority to U.S. Provisional Pat. App. No. 61/031,838; filed Feb. 27, 2008, which is hereby incorporated by reference in its entirety.

BACKGROUND

The present invention relates to devices that communicate over a wireless mesh network. In particular, the present invention relates to provisioning a wireless device to join a wireless mesh network.

Mesh networks use a process known as “joining” to incorporate new devices into the secured network. During the joining process, a number of information exchanges and configurations take place.

The new device uses a network predetermined channel to discover similar devices within radio range. These are the existing network nodes the new device has available to it in order to gain membership into the network. The presence of each device within range is recorded. The new device sends a message to establish a handshake protocol with a neighbor device, asks to join the network, and provides a device number and network ID. The neighbor communicates the request to a network manager, which for example may be a software program running on a network gateway or a server connected to the gateway. The new device will provide its “neighbor” list to the network manager so that the network manager can determine the links that must be established to allow the new device to participate in the network.

The new device receives a joining message from the network manager. The new device then sends back the expected response along with other information necessary for the network manager to establish links from the new device to other devices in the network.

The new device and its new parents and children receive and implement configuration information from the network manager to establish the required links. The new device is then fully joined and participating in the network.

For wireless mesh networks, communication security and ease of use are two important features. These two features can be at odds, because communication security implies complexity and an opportunity for things to go wrong.

In one approach used in wireless mesh networks, security is predicated on a symmetric join key mechanism. By loading the correct join key into a device, that device is then capable of communicating with its neighbors and the gateway of the mesh network in a secure way. In this approach, during the joining process, the message to the neighbor device is encrypted by the new device using its stored join key. If the new device has the wrong join key, the join request will be rejected by the neighbor and will not be sent on to the network manager. The new device also uses the join key to decode the joining message from the network manager. Other approaches to security are possible that do not require a symmetric join key mechanism. These other approaches make use of asymmetric or symmetric encryption keys or other cryptographic material stored in the devices to provide network security.

One challenge with wireless mesh networks is how to load cryptographic material (such as a join key or other symmetric or asymmetric keys) to the wireless device the first time. If the loading is done manually, human errors can occur. If the loading is done through wireless communication with the device, the communication is not secure, and another wireless device within range may be able to receive and possibly misuse the cryptographic material that was intended for the new device that is being loaded.

Join keys are long random strings and are clumsy to load manually. The task of loading join keys into wireless devices is complicated when there are many wireless devices to provision. The task of loading join keys is further complicated when individual join keys are used.

Both common join keys and individual join keys have been used in wireless mesh networks. A common join key works for all devices that want to join a particular network. An individual join key is used for only one wireless device to join a network. In other words, when individual join keys are used, each wireless device must be provided a different individual join key.

Documentation is another important facet when considering the use of a wireless mesh network. Procedures that have been used in the past for adding join keys to wireless devices, for join key number generation, and for generating the documentation relating to wireless devices under join keys has been fragmented and has required significant manual effort.

A typical process for providing a common join key to a wireless device so that it can join a network is as follows. First, a user retrieves the common join key from the wireless gateway. This may be done, for example, through a computer connected on a network to the gateway. The user then writes the join key down on a piece of paper and stores the paper with the written join key. Often, the paper and the join key are not maintained in a secure location. The user then makes use of a handheld device to load the join key into the wireless device. The user may document when the join key was loaded into a particular wireless device, and the time at which the loading took place. The user repeats these steps until all of the wireless devices to be added to the wireless mesh network have received the common join key.

This practice has several disadvantages. First, it exposes a common join key to many people within the facility. Second, the join key is often recorded on paper, and may be left unsecured for use the next time a wireless device is being added to the network. Third, documentation is handled manually. Therefore, it may be forgotten; it may not be part of the procedure being used to provision the wireless devices; and it may be prone to human error. Fourth, the process of provisioning the wireless devices is time consuming, particularly when there are a large number of wireless devices involved. Because errors can be made in entering the join key into the handheld device, rework may be necessary in order to get all of the wireless devices provisioned.

A typical process for a mesh network using individual join keys is as follows. A user will retrieve an individual join key from the wireless gateway and write the individual join key down on a piece of paper. The user subsequently uses a handheld device to load the join key into the wireless device. The user then goes back to the wireless gateway and retrieves the next individual join key. The user documents that an individual join key was loaded into a particular wireless device at a particular time. These steps are then repeated until all wireless devices are complete.

This practice improves security over the use of common join keys because once an individual join key is used, it is no longer valid. However, the process involves substantially more time because the user must go to the gateway after each device is commissioned. This may be inconvenient where the wireless devices that are being provisioned are located where access to a gateway interface is not readily available. Once again, documentation is handled manually, which means that it may be forgotten, not made part of a procedure, or may be subject to human error.

SUMMARY

Join key provisioning of wireless devices to allow them to join a wireless mesh network includes two basic steps. A physical connection is made to the wireless device to allow secure data communication. The wireless device and a particular gateway of the wireless mesh network are associated using the join key information and a unique device identifier.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating a process control/monitoring system in which a wireless mesh network routes messages between a host and field devices.

FIGS. 2A and 2B illustrate a method of provisioning a wireless device of the network of FIG. 1 with a join key by connecting the wireless device to a network computer in communication with a wireless gateway.

FIGS. 3A-3D show loading common join keys and a network ID into a wireless device using a handheld device.

FIGS. 4A-4D show a method of loading individual join keys into wireless devices using a handheld device.

FIGS. 5A-5C show a method of loading individual join keys into wireless devices, where a handheld device randomly generates the individual join keys.

FIGS. 6A-6D show loading temporary join keys into field devices, which are subject to subsequent user authorization.

DETAILED DESCRIPTION

FIG. 1 shows process control/monitoring system 10, which includes host computer 12, high-speed network 14, wireless mesh network 16 (which includes gateway 18 and wireless field devices or nodes 20 a-20 i), configuration device 30, and network computer 32. Gateway 18 interfaces mesh network 16 with host computer 12 over high-speed network 14. Messages may be transmitted from host computer 12 to gateway 18 over network 14, and are then transmitted to a selected node of mesh network 16 over one of several different paths. Similarly, messages from individual nodes of mesh network 16 are routed through mesh network 16 from node-to-node over one of several paths until they arrive at gateway 18 and are then transmitted to host 12 over high-speed network 14. Wireless mesh network 16 represents one embodiment of mesh networks. In other embodiments, such as a star topology mesh network, each device node is connected to one of a plurality of gateway devices, although the devices are not connected to communicate with one another. Each of the plurality of gateway devices may be connected to one or more additional gateway devices to form a mesh network of gateway devices (i.e., the gateway devices themselves form the mesh network). In other embodiments, device nodes may be associated with one or more gateway devices in a redundant gateway topology. For the sake of simplicity however, the present invention is described with respect to the mesh network topology shown in FIG. 1, but could apply to other mesh network topologies known in the art.

New wireless field devices can be added to network 16 using a joining process. In one embodiment, security within network 16 is predicated on a symmetric join key mechanism. The correct join key must be loaded into a field device so that the device will be accepted by other field devices and by the gateway. The join key must be loaded in a secure fashion, so that another wireless device within range cannot receive and possibly misuse the join key. Although join keys can be loaded manually into each new field device, manual loading can be prone to errors and exposes cryptographic material to human operators.

The goal is to load cryptographic material such as keys into new field devices in a secure fashion. This may be achieved through a secure wired communication path to the new field device directly from gateway 18 from network computer 32, or from handheld communicator 70 (shown in FIGS. 3A-6D). Network computer 32 provides a graphical user interface (GUI) which may include, for example, a web browser. Configuration device 30 and the GUI on computer 32 allow a technician to interrogate the network security manager (which may be, for example, an application program running on gateway 18, host computer 12, server, or other network device), obtain the correct join key (or other cryptographic material) for the new field device, and securely load the join key into the new field device. Once the join key and other required information has been loaded, the new field device can be installed in the field, where it can use its stored join key as part of the joining process to become part of wireless network 16.

Host computer 12 may be a distributed control system host running application programs to facilitate sending messages to field devices 20 a-20 i, and receiving and analyzing data contained in messages from field devices 20 a-20 i. Host computer 12 may use, for example, AMS™ Device Manager as an application program to allow users to monitor and interact with field devices 20 a-20 i.

Gateway 18 can communicate with host computer 12 over network 14 using a number of different communication protocols. In one embodiment, network 14 is an RS485 two wire communication link, on which gateway 18 may communicate with host computer 12 using the MODBUS protocol. In another embodiment, network 14 is an Ethernet network, and communication over network 14 can support MODBUS TCP/IP using an Ethernet interface.

Gateway 18 may also serve as a web server (or may have an associated web server), to allow users on network 14 to access field devices 20 a-20 i of wireless network 16 and to process data. The web server allows gateway 18 to be configured using a computer with a standard web browser and a secure Ethernet connection to network 14. User configurable monitoring pages generated by gateway 18 allow measured values from field devices 20 a-20 i to be grouped and easily viewed with a web interface. The web page generated by gateway 18 can be viewed by accessing network 14 through host computer 12, or another computer or network device (such as computer 32) connected to network 14. An example of a suitable device to perform the functions of gateway 18 is the Rosemount 1420 wireless gateway from Rosemount Inc. In other embodiments, information may be provided through GUIs in other formats, without the need for a web browser and web server.

System 10 can make use of field devices that have been designed for and used in wired distributed control systems, as well as field devices that are specially designed as wireless transmitters for use in wireless mesh networks. Examples of wireless transmitters include the Rosemount 3051S wireless level transmitter, Rosemount 648 wireless temperature transmitter, and Rosemount 3051S wireless pressure transmitters from Rosemount Inc. These wireless transmitters are also capable of use in wired systems.

Wireless network 16 is preferably a low power network in which many of the nodes are powered by long life batteries or low power energy scavenging power sources. Communication over wireless network 16 may be provided according to a mesh network configuration, in which messages are transmitted from node-to-node through network 16. This allows the use of lower power RF radios, while allowing the network 16 to span a significant physical area to deliver messages from one end of the network to the other.

In a wired control/monitoring system, interaction between the host computer and the field devices occurs using well known control messages according to a control system communication protocol such as HART, Foundation Fieldbus, Profibus, or the like. Field devices capable of use in both wired systems and wireless systems can make use of control messages according to one of the known control message protocols. In some cases, wireless field devices 20 a-20 i, which are part of wireless network 16, may not be able to directly exchange these well known control messages with host computer 12 because the wireless communication over network 16 occurs according to a wireless protocol that is general purpose in nature.

Rather than require host computer 12 and field devices 20 a-20 i to communicate using wireless protocol, a method can be provided to allow sending and receiving well known field device control messages between host computer 12 and field devices 20 a-20 i over wireless network 16. The well known field device control messages can be embedded into the general purpose wireless protocol so that the control messages can be exchanged between host computer 12 and field devices 20 a-20 i to achieve control of an interaction with field devices 20 a-20 i. As a result, wireless network 16 and its wireless communication protocol is essentially transparent to host computer 12 and field devices 20 a-20 i. The HART protocol is an example of a known control system communication protocol, although other protocols (e.g. Foundation Fieldbus, Profibus, etc.) can be used as well.

A similar issue relates to the addresses used by host computer 12 to direct messages to field devices 20 a-20 i. In wired systems, the host computer addresses each field device with a unique field device address. The address is defined as part of the particular communication protocol being used, and typically forms a part of control messages sent by the host computer to the field devices.

When a wireless network, such as network 16 shown in FIG. 1, is used to route messages from the host computer to field devices, the field device addresses used by the host computer may not be compatible with the wireless addresses used by the communication protocol of the wireless network.

One way to deal with addresses is to require host computer 12 to use wireless addresses rather than field device addresses. This approach, however, requires host computer 12 to be programmed differently depending upon whether it is communicating over wired communication links with field devices, or whether it is communicating at least in part over a wireless network. In addition, there remains the issue of multiple field devices, which will typically have different purposes, and which need to be addressed individually.

An alternative approach uses gateway 18 to translate field device addresses provided by host computer 12 into corresponding wireless addresses. A wireless message is sent to the wireless address, and also includes a field device address so that the node receiving the message can direct the message to the appropriate field device. By translating field device addresses to corresponding wireless addresses, host computer 12 can function in its native field address domain when interacting with field devices.

In one embodiment, host computer 12 communicates with gateway 18 using messages in extendable markup language (XML) format. Control messages intended for field devices 20 a-20 i may presented according to the HART protocol, and are communicated to gateway 18 in XML format.

In one embodiment, gateway 18 includes a gateway interface, a network (or mesh) manager, and a radio transceiver. The gateway interface receives the XML document from host computer 12, extracts the HART control message, and modifies the control message into a format to be embedded in a wireless message that will be transmitted over wireless network 16.

The network or mesh manager forms the wireless message with the HART control message embedded, and with the wireless address of the node corresponding to the field device to which the HART message is directed. The mesh manager may be maintaining, for example, a lookup table that correlates each field device address with the wireless address of the node at which the field device corresponding to that field device address is located. The wireless message according to the wireless protocol includes the wireless node address, which is used to route the wireless message through network 16. The field device address is contained in the HART message embedded within the wireless message, and is not used for routing the wireless message through network 16. Instead, the field device address is used once the wireless message has reached the intended node.

The mesh manager causes the radio in gateway 18 to transmit the wireless message, so that it will be transmitted by one or multiple hops within network 16 to the intended field device. For example, the message to field device 20 f may be transmitted from gateway 18 to field device 20 a and then to field device 20 f, or alternatively from gateway 18 to field device 20 b and then to field device 20 f. Other routes are also possible in network 16.

The use of embedded control messages (in a control message protocol) within wireless messages (in a wireless protocol) enables the host computer of a distributed control system to interact with field devices through a wireless communication network. Control messages can be exchanged between the host computer and the field devices using known control message formats, such as HART, Fieldbus, or the like, without having to be modified by either the host computer or the field devices to accommodate transmission of the control messages over the wireless network. The control message is embedded within the wireless communication protocol such that the substance of the control message exchanged between the host computer and the field device is unmodified as a result of having passed through the wireless network.

Control messages that are too large to be routed through the wireless communication protocol can be broken into parts and sent as multiple parts. Each part is embedded in a wireless message, and the multiple parts can be reassembled into the original control message as the multiple parts exit the wireless network. By use of a message ID in the embedded control message, the multiple parts can be reassembled in proper order, even though individual wireless messages having embedded parts of the original control message may take different paths through the wireless network.

The translation of field device addresses to corresponding wireless addresses allows host 12 to function in its native field device address domain, while interacting with field devices within the wireless address domain. The use of wireless network 16 to route messages to and from the field devices is transparent to host 12. The address translation and inclusion of both the wireless address and the field device address in the wireless message allows multiple field devices associated with a single node (i.e. a single wireless address) to be addressed individually.

FIGS. 2A and 2B show the provisioning of new field device 20 j using network computer 32 and gateway 18. As shown in FIG. 2A, field device 20 j is connected to network computer 32 during the provisioning process. This connection may be made through a HART modem within network computer 32. The connection may be made via a USB port or a serial data port. Network computer 32 may be running an application program, such as AMS™ Suite from Emerson Process Management as an application program to allow users to monitor and interact with gateway 18 and the devices of wireless network 16.

FIG. 2B shows a portion of a graphical user interface (GUI) showing a diagram that is displayed when device 20 j is connected to network computer 32. GUI 40 provides a diagram with icons representing various components. The icons include device manager icon 42, plant database icon 44, HART modem icon 46, field device icon 48 (representing connected field device 20 j of FIG. 2A), gateway icon 50, wireless network icon 52, gateway icon 54, and network icon 56. In this diagram, field device icon 48 corresponds to wireless field device 20 j. Gateway icon 54 corresponds to gateway 18, and wireless network icon 56 corresponds to wireless network 16. In this embodiment (as well as the embodiments described with respect to FIGS. 3A-6D) the network manager resides on the gateway device. In other embodiments, the network manager may reside in a host computer 12, server, or other network device. In these embodiments, the network manager would reside above the gateway (i.e., on the high-speed network side) and the gateway would function simply as a routing or collection point.

FIG. 2B illustrates how an association is made between gateway 18 and wireless field device 20 j. The association is made by a drag and drop step in which the user (typically a technician) clicks on field device icon 48, drags icon 48 over to gateway icon 54, as shown by arrow 60, and drops icon 48 at gateway 54. This action creates an association between wireless device 20 j and gateway 18. The two devices then exchange information needed to allow wireless device 20 j to join wireless network 16 (and in particular gateway 18 of wireless network 16).

When wireless field device 20 j is connected to network computer 32, network computer 32 interrogates wireless device 20 j and receives a device ID, which is a unique identifier of wireless device 20 j. When the user drags and drops icon 48 on icon 54 to establish an association between wireless device 20 j and gateway 18, network computer 32 obtains the join key and network ID needed by wireless device 20 j to join wireless network 16 and communicate with gateway 18. The join key and network ID are transferred to wireless device 20 j. The connection between network computer 32 and wireless device 20 j can then be removed, and wireless device 20 j can be transported to the field for installation. Once installed, wireless device 20 j can begin the joining process to join wireless network 16, by using the network ID and the join key that it received during the provisioning process.

When wireless device 20 j begins communicating with nearby devices of network 16, it provides its device ID, and makes use of the join key and network ID. The device ID of wireless device 20 j has already been received and associated with gateway 18 during the provisioning process, and therefore wireless device 20 j will be allowed to join network 16.

The process shown in FIGS. 2A and 2B can be used whether common join keys are used for all devices that join network 16, or whether individual join keys are assigned to individual wireless devices. In either case, a record can be maintained by network computer 32 or gateway 18, or both, documenting which wireless devices are associated with gateway 18 and are permitted to join wireless network 16. In addition, the particular join key used by each wireless device is also stored.

FIGS. 3A-3D illustrate a method of provisioning wireless device 20 j with the assistance of handheld communicator 70. In FIG. 3A, gateway 18, network computer 32, and handheld communicator 70 are shown. Network computer 32 acts as an interface between gateway 18 and handheld communicator 70 to supply a common join key and a network ID.

In FIG. 3B, handheld communicator 70 has been connected to wireless device 20 j. Connection of handheld communication 70 to wireless device 20 j may be a wired connection or wireless connection. In response to interrogation from communicator 70, wireless device 20 j provides its device ID, which is stored in handheld communicator 70.

As shown in FIG. 3C, the user then selects a gateway from among a list of gateways that may reside on the same wireless network, or on different wireless networks. Handheld communicator 70 stores a common join key and network ID for each of the gateways that can be selected. When the gateway is selected, handheld communicator 70 associates the device ID of wireless device 20 j with the selected gateway. It then transmits the common join key and network ID of the selected gateway to wireless device 20 j.

The steps shown in FIGS. 3B and 3C can take place in the field, where wireless device 20 j may already be installed. Alternatively, handheld communicator 70 can be used to create an association between wireless device 20 j and gateway 18 and provide the common join key and network ID information prior to the installation of wireless device 20 j.

In FIG. 3D, handheld communicator 70 is once again in communication with network computer 32. Handheld communicator 70 provides the device ID and the selected gateway for each wireless device that it has provisioned. The association of wireless devices and gateways may be stored in the database used by network computer 32, and may also be provided to the appropriate gateway, such as gateway 18.

FIGS. 4A-4D show a provisioning process using handheld communicator 70 in which individual join keys are used. In FIG. 4A, handheld communicator 70 is in communication with network computer 32. Handheld communicator 70 requests that it be provided with individual join keys that can be used by wireless devices that are provisioned to join network 16. The individual join keys together with the network ID are provided from gateway 18 to handheld communicator 70 by network computer 32.

In FIG. 4B, handheld communicator 70 is connected to wireless device 20 j. In response to interrogation from handheld communicator 70, wireless device 20 j provides a device ID uniquely identifying wireless device 20 j.

In FIG. 4C, the user has selected a particular gateway (in this case gateway 18) of wireless network 16. Handheld communicator 70 associates the device ID of wireless device 20 j with the selected gateway 18, and downloads one of the individual join keys as well as the network ID to wireless device 20 j.

The process shown in FIGS. 4B and 4C may be repeated numerous times as handheld communicator 70 is used to provision different wireless devices. At that point, handheld communicator 70 has a stored relationship between each wireless device that it has provisioned and a particular network and gateway. That association includes the particular individual join key provided to each of the wireless devices that have been provisioned.

In FIG. 4D, handheld communicator 70 reestablishes contact with network computer 32, so that it can download to computer 32 and gateway 18 the device ID and associated individual join key for each wireless device that has been associated with gateway 18 during the provisioning process. The information from handheld communicator 70 populates a gateway “white list” through the AMS Suite application program. As a result, gateway 18 has access to a list identifying each individual wireless device of wireless network 16, and the individual join key to be used by the individual wireless device in joining network 16.

FIGS. 5A-5C show a method of provisioning wireless devices in which handheld communicator 70 randomly generates an individual join key for each wireless device. In FIG. 5A, handheld communicator 70 is connected to wireless device 20 j. In response interrogation by communicator 70, wireless device 20 j provides a device ID.

In FIG. 5B, the user has selected a particular wireless network and gateway for wireless device 20 j. Handheld communicator 70 provides a randomly generated individual join key together with the network ID for network 16 to wireless device 20 j. It also stores the randomly generated individual join key in conjunction with the device ID of wireless device 20 j and the particular gateway with which wireless device 20 j is associated.

In FIG. 5C, handheld communicator 70 is in communication with network computer 32. Communicator 70 provides the device ID and individual join key for each wireless device that it has provisioned. The device ID and individual join keys for devices associated with wireless gateway 18 are provided to gateway 18 by network computer network 32. This allows gateway 18 to populate the gateway white list used to authorize the joining of network 16 by wireless devices.

FIGS. 6A-6D show a method of provisioning a wireless device using temporary join keys generated by gateway 18. In FIG. 6A, handheld communicator 70 is in communication network computer 32. In one embodiment, temporary join keys and a network ID are loaded from gateway 18 to handheld communicator 70 by network computer 32.

In FIG. 6B, handheld communicator 70 has been connected to wireless device 20 j. In response to interrogation by handheld communicator 70, wireless device 20 j has provided its device ID.

In FIG. 6C, a user has selected a particular network and gateway for wireless device 20 j. In this example, gateway 18 has been selected. Handheld communicator 70 associates the device ID for device 20 j with gateway 18, and one of the temporary join keys. Communicator 70 then loads the temporary join key and the network ID for gateway 18 into wireless device 20 j.

Use of temporary join keys allows a user to later accept or reject devices trying to join the network with temporary join keys. Handheld communicator 70 reestablishes communication with network computer 32 and downloads device ID and temporary join key information for each wireless device that it has provisioned. Network computer 32 provides that information, in turn, to gateway 18.

Later, when a new device, such as wireless device 20 j, attempts to join network 16, a user at network computer 32 may decide whether to accept or reject that device. The user may view the graphical user interface to obtain information regarding the device attempting to join network 16 in order to make a decision as to whether to accept that device on the network on a permanent rather than temporary basis.

In another embodiment, handheld communicator 70 randomly generates temporary join keys (as opposed to gateway 18) and loads the temporary join key and network ID for the gateway onto device 20 j. Communicator 70 communicates the temporary join keys the device ID of the wireless device that is has provisioned to the gateway device via network computer 32. At a later time, a user could then make a decision as to whether to accept that device on the network on a permanent rather than temporary bases

While the invention has been described with reference to an exemplary embodiment(s), it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. For example, in embodiments described with respect to FIGS. 2A-6D the network security manager is implemented as an application program running on the gateway device. In other embodiments, a network manager may reside on a computer, server or other control system connected to the mesh network. Gateway devices would operate only in the capacity of a routing point for the network, but would not be responsible for provisioning new wireless devices. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment(s) disclosed, but that the invention will include all embodiments falling within the scope of the appended claims. 

1. A method of provisioning a wireless device to join a wireless mesh network, the method comprising: creating an association of a device ID that uniquely identifies the wireless device with a network manager of the wireless mesh network; and automatically providing a join key and a network ID to the wireless device through a secure data communication.
 2. The method of claim 1, wherein creating an association comprises: connecting the wireless device to a computer in communication with the network manager; transferring the device ID from the wireless device to the computer; and selecting a network manager, gateway, or wireless network with which the device ID of the wireless device is associated.
 3. The method of claim 2, wherein the computer automatically provides the join key and network ID from the network manager selected to the wireless device.
 4. The method of claim 2, wherein the computer includes a graphical user interface including icons representing the wireless device, network managers, gateways, or wireless networks that can be selected, and wherein selecting a network manager, gateway or wireless network comprises dragging and dropping the icon representing the wireless device onto the icon representing the network manager, gateway or wireless network selected.
 5. The method of claim 1, wherein creating an association comprises connecting the wireless device to a handheld communicator; transferring the device ID from the wireless devices to the handheld communicator; and selecting through the handheld communicator a network manager, gateway, or wireless network with which the device ID of the wireless device is associated.
 6. The method of claim 5, wherein the handheld communicator automatically provides the join key and network ID to the wireless device.
 7. The method of claim 6, wherein the join key is a common join key received by the handheld communicator from the network manager associated with the network manager, gateway, or wireless network selected.
 8. The method of claim 6, wherein the join key is an individual join key received by the handheld communicator from the network manager associated with the network manager, gateway, or wireless network selected.
 9. The method of claim 6, wherein the join key is an individual join key randomly generated by the handheld communicator.
 10. The method of claim 6, wherein the join key is a temporary join key received by the handheld communicator from the network manager associated with the network manager, gateway, or wireless network selected.
 11. The method of claim 6 and further comprising: communicating the device ID of the wireless device and the join key provided to the wireless device from the handheld communicator to the network manager.
 12. The method of claim 1, wherein the network manager resides on a gateway device of the wireless mesh network.
 13. A method of provisioning a wireless device to join a wireless network, the method comprising: obtaining from the wireless device a device ID that uniquely identifies the wireless device; selecting a gateway of the wireless network that the wireless device is to join; providing a join key and network ID required for joining the wireless network to the wireless device; associating the device ID with the join key provided; and communicating the device ID and associated join key to the gateway selected.
 14. The method of claim 13, wherein selecting a gateway comprises a dragging and dropping operation on a graphical user interface to associate a wireless device icon and a gateway icon.
 15. The method of claim 13, wherein a handheld communicator is used to perform the method.
 16. The method of claim 15 and further comprising: obtaining the join key and network ID from the gateway; storing the join key and network ID in a handheld communicator; and connecting the handheld communicator to the wireless device.
 17. The method of claim 15 and further comprising: randomly generating the join key in the handheld communicator.
 18. The method of claim 13, wherein the join key comprises one of a common join key, an individual join key, and a temporary join key.
 19. The method of claim 13, wherein the join key is provided to the wireless device without revealing the join key to a human user.
 20. The method of claim 13 and further comprising: connecting the wireless device to a network computer in communication with the gateway.
 21. The method of claim 20, wherein the network computer obtains the device ID, provides the join key and network ID, associates the device ID with the join key, and communicates the device ID and join key to the gateway selected. 